{% extends "contest/base.html" %}
{% block title %}
    Competitors
{% endblock %}

{% block content %}
    {% if competitors %}
    <ul>
        {% for competitor in competitors %}
            <li>
                <a href="{% url competitor competitor.id %}">
                    {{competitor.name}} {{competitor.surname}}</a>
            </li>
        {% endfor %}
    </ul>
    {% else %}
        <p>No Competitor found</p>
    {% endif %}
{% endblock %}

